package com.stxx.framwork.constants;

import com.stxx.framwork.support.OptionInterface;

import java.math.BigDecimal;

public enum FluxDataType implements OptionInterface {
    STRING("字符串"),
    BOOLEAN("布尔"),
    DOUBLE("双精度"),
    INTEGER("数字"),
    SHORT("短整型"),
    LONG("长整型"),
    FLOAT("浮点"),
    BYTE("字节型");
    private String label;
    FluxDataType(String label){
        this.label = label;
    }


    @Override
    public String getValue() {
        return this.name();
    }

    public String getLabel(){
        return label;
    }
}
